package com.laosg.exporter;


import com.laosg.exporter.custom.CustomCollector;
import io.prometheus.client.exporter.HTTPServer;
import io.prometheus.client.hotspot.DefaultExports;

import java.io.IOException;

/**
 * <p>description: some thing </p>
 *
 * @author kevinruan@pano.im
 * @date 2020/1/19
 */
public class Main {

    public static void main(String[] args) throws IOException {
        System.out.println("exporter");
        HTTPServer httpServer = new HTTPServer(1234);
        new CustomCollector().register();
        DefaultExports.initialize();

    }
}
